import mongoose from "mongoose";
// import { encrypt } from "../utils/bcryptjs";
const shoucangRuler = new mongoose.Schema({
  befocusid: { type: mongoose.Schema.Types.ObjectId, require: true }, //被收藏的信息
  userid: { type: mongoose.Schema.Types.ObjectId, require: true }, //收藏人
  createTime: {
    type: Date,
    default: Date.now,
  },
});
const shoucangModel = mongoose.model("shoucangInfo", shoucangRuler);
export { shoucangModel };
